import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { findDOMNode } from 'react-dom';
import AliAppPayForm from './PayForm/AliPayAppForm';
import UnionPayAppForm from './PayForm/UnionPayAppForm';
import WxPayAppForm from './PayForm/WxPayAppForm';
import moment from 'moment';
import { connect } from 'dva';
import {
  List,
  Card,
  Drawer, Form, Button, message,
  Avatar, Badge, Switch,
} from 'antd';